<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>:: NOMBRE DEL SISTEMA ::</title>

<link rel="stylesheet" type="text/css" href="css/estilos.css">
<link rel="stylesheet" type="text/css" href="css/estilosLightbox.css">
<link rel="stylesheet" type="text/css" href="css/estilosSqueezeBox.css">
<link rel="stylesheet" type="text/css" href="css/estilosCalendario.css" media="screen">
<link rel="stylesheet" type="text/css" href="css/estilosTooltip.css" media="all">
<link rel="stylesheet" type="text/css" href="css/estilosEditableTexto.css">



<style type="text/css">
<!--
.style1 {
	color: #37516d;
	font-weight: bold;
	font-size: 11px;
}
-->
</style>

</head>

<script type="text/javascript">
	function prueba() 
	{    
		alert("Prueba");
	}
	
	function mostrarResponse(newURL, newName, newFeatures, orgName) {
		var remote = window.open(newURL, "popDialog", newFeatures);
		popup.document.close();
	}
	
	function generarDespacho(sPedido) 
	{    
		alert("Prueba Despacho");
		alert(sPedido);
		//myRemote = mostrarResponse("http://localhost:8080/jaxws-tracking/services/restDespacho/despacho/regDespacho/" + sPedido + "/" + "15-10-2011/15-10-2010/8888/ABC-845/0", "myRemote", "height=400,width=700,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0", "myWindow");
	}
</script>

<body>
<div id="contenedor">
  <div id="cuerpo">
    <div id="escritorio">
        	<h1>DESPACHO </h1>
        	<p>&nbsp;</p>
   	  <div class="esc_divEnableTab">
   	    <p>&nbsp;</p>
   	    <p>&nbsp;</p>
   	    <!-- <form action="javascript:generarDespacho('<c:out value='${txtCodDespacho}'/>')" method="post" name="form1" class="esc_formulario">
   	    -->
   	    <!-- <form action="javascript:prueba()" method="post" name="form1" class="esc_formulario">
   	    -->
   	    <!-- <form action="http://localhost:8080/jaxws-tracking/services/restDespacho/despacho/regDespacho/2805/15-10-2011/15-10-2010/8888/ABC-845/0" method="post" name="form1" class="esc_formulario">
   	    -->
   	    <form action="../despacho" method="post" name="form1" class="esc_formulario">
   	     
   	      <table width="100%%" border="0" class="esc_for_CapaTabla" id="juan">
            <tr>
              <td width="19%"><div align="right" class="style1">
                  <div align="right">C&oacute;digo de Despacho:</div>
              </div></td>
              <td width="81%"><label></label>
              <div align="left">
                <input name="txtCodDespacho" type="text" id="txtCodDespacho">
              </div></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style1">Fecha de Registro : </span></div></td>
              <td><div align="left">
                <input name="txtFechaRegistro" type="text" id="txtFechaRegistro">
              </div></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style1">Fecha de Entrega :</span></div></td>
              <td><div align="left">
                <input name="txtFechaEntrega" type="text" id="txtFechaEntrega">
              </div></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style1">Cantidad: </span></div></td>
              <td><div align="left">
                <input name="txtCantidad" type="text" id="txtCantidad">
              </div></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style1">Placa: </span></div></td>
              <td><div align="left">
                <input name="txtPlaca" type="text" id="txPlaca">
              </div></td>
            </tr>
            <tr>
              <td><div align="right"><span class="style1">Atenci&oacute;n: </span></div></td>
              <td><div align="left">
                <input name="txtAtencion" type="text" id="txtAtencion">
              </div></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td><div align="left"><input name="Submit" type="submit" class="mooeditable-ui-toolbar" value="Aceptar">
                  <input name="Submit2" type="reset" class="mooeditable-ui-toolbar" value="Limpiar">
                </div>
              </label></td>
            </tr>
          </table>
        </form>
   	    <p>&nbsp;</p>
      </div>
        	<p>&nbsp;</p>
    </div>
   
  </div>

</div>
</body>
</html>